//包含要用到的"所有.h"

#include <SPI.h>
#include"Arduino.h"


#define com8  0x80
#define com7  0x40
#define com6  0x20
#define com1  0x10
#define com2  0x08
#define com3  0x04
#define com4  0x02
#define com5  0x01

extern int Number_wei_array[];

#define   Number_0    0xEE
#define   Number_1    0x88
#define   Number_2    0xD6
#define   Number_3    0xDC
#define   Number_4    0xB8
#define   Number_5    0x7C
#define   Number_6    0x7E
#define   Number_7    0xC8
#define   Number_8    0xFE
#define   Number_9    0xFC
#define   Numb_non    0x00

extern int Number_duan_array[];

#define fuhao         0x10
#define xiaoshudian   0x01
#define kong          0x00
#define led_shang     0x20
#define led_zhong     0x40
#define led_xia       0x80
#define led_1         0x01
#define led_2         0x02
#define led_3         0x04
#define led_4         0x08
#define led_5         0x10

extern int Fuhao_duan_array[];

extern long long_NUMBER_Set_Key_Read(long number,int led,int DP ,int bright);

extern int Err_Disp();